package com.gyx.lottery.service.dto;

import com.gyx.lottery.service.enums.ActivityStatusEnum;
import lombok.Data;

@Data
public class ActivityDTO {
    private Long activityId;
    private String activityName;
    private String description;
    private ActivityStatusEnum status;
    public boolean valid(){
        return ActivityStatusEnum.RUNNING.equals(status);
    }
}
